extends layout
block page
	- var menu = "post"
block content
	h2 Post an Article
	div= error
	div.col-md-8
		form(action="/post",method="POST",role="form")
			div.form-group
				label(for="title") Title
				input#title.form-control(name="title",type="text",placeholder="JavaScript is good")
			div.form-group
				label(for="slug") Slug
				input#slug.form-control(name="slug",type="text",placeholder="js-good")
				span.help-block This string will be used in the URL
			div.form-group
				label(for="text") Text
				textarea#text.form-control(rows="5",name="text",placeholder="Text")
			p
				button.btn.btn-primary(type="submit") Save